package com.wanxi.service;

import com.wanxi.model.Message;
import com.wanxi.model.User;

import java.util.List;
import java.util.Map;

public interface UserService {

    Message<User> getUserList(Map<String,Object> map);

    User getUserById(Integer id);

    int addUser(User user);

    Message login(User user);

    Message getUserByUsername(String username);

    int editUser(Map map);

    List<User> getUserByTeam(String team);

    int updateUserTeam(Map map);

    int updateStatus(Map map);

    int deleteUsers(Map map);
}
